<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gsheet</title>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.9.2.custom.js"></script>
<script type="text/javascript" src="js/gsheet.js"></script>
<link href="css/gsheet.css" rel="stylesheet" type="text/css">
<script>
	$(document).ready(function() {
		var s = {
			rows : 100,
			cols : 10
		};
		$("#sheetcontain").gsheet(s, null);
	});
	function tt() {
		$("#sheetcontain").gsheet().createborder();
	}
</script>
</head>
<body  onselectstart="return false">
	<div>
		Row<input type="text" value="10" onclick="" style="width: 20px" />
		Col<input type="text" value="10" style="width: 20px" onclick="" /> <input
			type="button" value="初始化" onclick='tt()' /> <input type="button"
			value="重置" onclick="test()" /> <input type="button" value="插入行"
			onclick="" /> <input type="button" value="删除行" onclick="" /> <input
			type="button" value="插入列" onclick="" /> <input type="button"
			value="删除列" onclick="" /> <input type="button" value="增加行"
			onclick="" /> <input type="button" value="增加列" onclick="" /><br>
		<input type="text" value="A1" onclick="" style="width: 20px" /> - <input
			type="text" value="B2" onclick="" style="width: 20px" /><input
			type="button" value="合并单元格" onclick="" /> <input type="button"
			value="拆分单元格" onclick="test1()" />边框 <select id="border">
			<option value=“1”>下</option>
			<option value=“2”>上</option>
			<option value=“3”>左</option>
			<option value=“4”>右</option>
			<option value=“5”>全</option>
			<option value=“6”>外</option>
			<option value=“7”>无</option>
		</select>行 <input type="text" value="2" onclick="" style="width: 20px" />高<input
			type="text" value="20" onclick="" style="width: 20px" /> <input
			type="button" value="行高" onclick="" /> 列<input type="text" value="2"
			onclick="" style="width: 20px" /> 宽<input type="text" value="50"
			onclick="" style="width: 20px" /> <input type="button" value="列宽"
			onclick="$('.dma').width(100);" />
	</div>
	<div id="sheetcontain"
		style="border: 1px solid green; width: 800px; height: 400px; position: absolute;"></div>
	<div class="test"
		style="border: 1px solid blue; width: 800px; height: 900px"></div>
</body>
</html>